<?php
		
	$table = $_GET["table"];
	$id = $_GET["id"];
	$loai = $_GET["loai"];
	//echo $loai;die;
	if ($table!="" && $id!="" && $loai!="") {
		settype($id, "int");
		settype($value, "int");
	
		require("../librarys/funs/classdb.php");
		$db = new db;
		$kq=$db->anhien($table, $id, $loai);
		echo $kq;
	}
?>